package com.zy.service.impl;

import com.zy.dao.GetUserDao;
import com.zy.dao.impl.GetUserDaoImpl;
import com.zy.entity.User;
import com.zy.service.GetUserService;

import java.util.List;

/**
 * GetUserService接口的实现类
 */
public class GetUserServiceImpl implements GetUserService {
    private GetUserDao getUserDao = new GetUserDaoImpl();

    @Override
    public List<User> getAllUsers() {
        return getUserDao.getAllUsers();
    }
} 